package cn.com.bsoft.cloud.entity.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.List;

public class DrugListParam {

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp startDate;//开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp endDate;//结束时间
    private List<String> hospitalCodes;//医院编码集合
    private String pharmaceuticalCompanyCode;//医药公司编码
    private String pharmaceuticalCompanyName;//医药公司名称

    public Timestamp getStartDate() {
        return startDate;
    }

    public void setStartDate(Timestamp startDate) {
        this.startDate = startDate;
    }

    public Timestamp getEndDate() {
        return endDate;
    }

    public void setEndDate(Timestamp endDate) {
        this.endDate = endDate;
    }

    public List<String> getHospitalCodes() {
        return hospitalCodes;
    }

    public void setHospitalCodes(List<String> hospitalCodes) {
        this.hospitalCodes = hospitalCodes;
    }

    public String getPharmaceuticalCompanyCode() {
        return pharmaceuticalCompanyCode;
    }

    public void setPharmaceuticalCompanyCode(String pharmaceuticalCompanyCode) {
        this.pharmaceuticalCompanyCode = pharmaceuticalCompanyCode;
    }

    public String getPharmaceuticalCompanyName() {
        return pharmaceuticalCompanyName;
    }

    public void setPharmaceuticalCompanyName(String pharmaceuticalCompanyName) {
        this.pharmaceuticalCompanyName = pharmaceuticalCompanyName;
    }

    @Override
    public String toString() {
        return "DrugListParam{" +
                "startDate=" + startDate +
                ", endDate=" + endDate +
                ", hospitalCodes=" + hospitalCodes +
                ", pharmaceuticalCompanyCode='" + pharmaceuticalCompanyCode + '\'' +
                ", pharmaceuticalCompanyName='" + pharmaceuticalCompanyName + '\'' +
                '}';
    }
}
